package com.yic.module.mes.controller.admin.moroute.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 工单工艺路线 Excel 导出 Request VO，参数和 MoRoutePageReqVO 是一致的")
@Data
public class MoRouteExportReqVO {

    @Schema(description = "工单排产ID", example = "32661")
    private Long moId;

    @Schema(description = "工单号")
    private String moCode;

    @Schema(description = "工艺路线ID", example = "13473")
    private Long routeId;

    @Schema(description = "当前工序", example = "14636")
    private Long processId;

    @Schema(description = "下道工序", example = "5141")
    private Long nextProcessId;

    @Schema(description = "顺序")
    private Integer subsequence;

    @Schema(description = "与下道工序关系")
    private Integer link;

    @Schema(description = "是否为关键工序")
    private Integer mainProcess;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
